package com.potato369.cryptEureka.service;

import com.potato369.cryptEureka.domain.Brand;

import java.util.List;

import org.springframework.data.domain.Page;

public interface BrandService {
    List<Brand> listAllBrand();

    int createBrand(Brand brand);

    int updateBrand(Long id, Brand brand);

    int deleteBrand(Long id);

    Page<Brand> listBrand(int pageNum, int pageSize);

    Brand getBrand(Long id);
}
